package com.wtwd.device.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtwd.device.model.entity.DeviceStepInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 每日步数 Mapper 接口
 * </p>
 *
 * @author mjy
 * @since 2024-05-25
 */
@Mapper
public interface AppDeviceStepInfoMapper extends BaseMapper<DeviceStepInfo> {

    DeviceStepInfo getLastDeviceStepInfoByDeviceId(@Param("deviceId") Long deviceId);

    DeviceStepInfo getLastDeviceStepInfoByTotalId(@Param("totalId") Long totalId);
}
